package cn.com.godliu.rabbitmqprovider.mapper;

import cn.com.godliu.rabbitmqprovider.entity.UserInfo;

import java.util.List;

public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    List<UserInfo> selectUser();

    List<UserInfo> selectUserByAge(int age);
}